package com.lorenzogao.latte_core.app

import android.content.Context
import java.util.*

/**
 *  create by LorenzoGao
 *  email: 2508719070@qq.com
 *  TIME: 2020-01-06 19:18
 *  description:
 */


class Latte {

    companion object {


        fun init(context: Context): Configurator {
            getConfigurators()[ConfigType.APPLICATION_CONTEXT.name] = context.applicationContext
            return Configurator.INSTANCE
        }


         fun getConfigurators(): WeakHashMap<String, Any> {
            return Configurator.INSTANCE.LATTE_CONFIGS
        }




    }


}